﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Snake.Mapping;

namespace Snake.Test
{
    public class Factory : SessionFactory
    {

        public Factory(string connectionString) : base(connectionString)
        {
        }

        protected override void OnMapping(IMappingBuilder builder)
        {
            builder.Entity<Work>();
            builder.Entity<Department>();
            builder.Entity<Employee>();
            builder.Entity<GeneratedSqlTest.TestStringKey>();
        }
    }

  
}
